import win32com.client
conn = win32com.client.Dispatch(r'ADODB.Connection')
DSN = 'PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE\
                =usrs.mdb;jet OleDB:Database Password=ca'
conn.Open(DSN)
rs=conn.Execute('select pw from usrs where name="baipv008"')[0]
rs.MoveFirst()
while not rs.EOF:
    for i in range(rs.Fields.Count):
        print rs.Fields(i).Value,
    print
    rs.MoveNext()
    
